/*
 * Copyright (C) 2015 MC
 * All rights reserved.
 *
 * $$File: $$
 * $$DateTime: $$
 * $$Author: $$
 * $$Revision: $$
 */

package com.glela.common.util;

/**
 * @author liujie
 */
public enum BaseCodeEnum
{
	NO_LOGIN("未登录", "20001"), PASSWORD_ERROR("密码失败", "20002");
	private String msg;
	private String code;

	BaseCodeEnum(String msg, String code)
	{
		this.code = code;
		this.msg = msg;
	}

	/**
	 * @return the msg
	 */
	public String getMsg()
	{
		return this.msg;
	}

	/**
	 * @param msg
	 *            the msg to set
	 */
	public void setMsg(String msg)
	{
		this.msg = msg;
	}

	/**
	 * @return the code
	 */
	public String getCode()
	{
		return this.code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code)
	{
		this.code = code;
	}

}
